package cn.dingkai.service.impl;

import cn.dingkai.dao.Citydao;
import cn.dingkai.dao.impl.CitydaoImpl;
import cn.dingkai.pojo.Province;
import cn.dingkai.service.CityService;

import java.util.List;

/**
 * @Auther:dingkai
 * @date:2021/12/16 0016 上午 11:45
 * @Desc:
 */
public class CityServiceImpl implements CityService {
    //注入
    private Citydao dao = new CitydaoImpl();

    @Override
    public List<Province> queryById(int pid) {
        return this.dao.queryById(pid);
    }
}
